<style>
    .layui-iconpicker-body.layui-iconpicker-body-page .hide {
        display: none;
    }
    .select_a {
            color: #009688;
            padding: 2px;
            margin: 2px;
            border: #009688 1px dashed;
        }
</style>
<link rel="stylesheet" href="__STATIC__/plugs/lay-module/autocomplete/autocomplete.css?v={$version}" media="all">
<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
                <div class="layui-form-item">
            <label class="layui-form-label">性别</label>
            <div class="layui-input-block">
                    {foreach $alldata['field']['sex']['option'] as $key=>$vo}
                    <input name="sex" value="{$key}" type="radio" title="{$vo}"  {if $key==$row.sex}checked=""{/if}>
                    {/foreach}
                <tip></tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">出生年月</label>
            <div class="layui-input-block">
                <input type="text" id="birth_data" name="birth_data" class="layui-input" lay-reqtext="请输入出生年月" placeholder="请输入出生年月" value="{$row.birth_data|default=''}">
                <tip>例：1985-05-06</tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">所在城市</label>
            <div class="layui-input-block">
                <input type="text" id="city" name="city" class="layui-input" lay-reqtext="请输入所在城市" placeholder="请输入所在城市" value="{$row.city|default=''}">
                <tip></tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">身高</label>
            <div class="layui-input-block">
                <input type="text" id="heights" name="heights" class="layui-input" lay-reqtext="请输入身高" placeholder="请输入身高" value="{$row.heights|default=''}">
                <tip>单位cm</tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">体重</label>
            <div class="layui-input-block">
                <input type="text" id="weights" name="weights" class="layui-input" lay-reqtext="请输入体重" placeholder="请输入体重" value="{$row.weights|default=''}">
                <tip>单位KG</tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">星座</label>
            <div class="layui-input-block">
                <input type="text" id="constellation" name="constellation" class="layui-input" lay-reqtext="请输入星座" placeholder="请输入星座" value="{$row.constellation|default=''}">
                <tip></tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">自我介绍</label>
            <div class="layui-input-block">
                <textarea name="introduce" class="layui-textarea textarea" placeholder="请输入自我介绍">{$row.introduce|default=''}</textarea>
                <tip></tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">经验</label>
            <div class="layui-input-block">
                <textarea name="experience" class="layui-textarea textarea" placeholder="请输入经验">{$row.experience|default=''}</textarea>
                <tip>多个以|分割</tip>
            </div>
        </div>
<input type="hidden" name="staff_people_id" value="{$row.staff_people_id|default=''}">
        <div class="layui-form-item">
            <label class="layui-form-label">证书</label>
            <div class="layui-input-block layuimini-upload">
                <input name="certificates" class="layui-input layui-col-xs6 imgs" placeholder="请上传证书" value="{$row.certificates|default=''}">
            <div class="layuimini-upload-btn">
                <span><a class="layui-btn" data-upload="certificates" data-upload-number="100" data-upload-exts="png|jpg|ico|jpeg|apk|xls|xlsx|txt|doc|docx|ppt|pptx|video" data-upload-icon="image"><i class="fa fa-upload"></i> 上传</a></span>
                <span><a class="layui-btn layui-btn-normal" id="select_certificates" data-upload-number="100" data-upload-select="certificates" data-upload-mimetype="image/*"><i class="fa fa-list"></i> 选择</a></span>
            </div>
                <tip></tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">服务过的家庭数</label>
            <div class="layui-input-block">
                <input type="text" id="service_num" name="service_num" class="layui-input" lay-reqtext="请输入服务过的家庭数" placeholder="请输入服务过的家庭数" value="{$row.service_num|default=''}">
                <tip></tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">服务时长</label>
            <div class="layui-input-block">
                <input type="text" id="service_time" name="service_time" class="layui-input" lay-reqtext="请输入服务时长" placeholder="请输入服务时长" value="{$row.service_time|default=''}">
                <tip></tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">入行时间</label>
            <div class="layui-input-block">
                <input type="text" id="entry_time" name="entry_time" class="layui-input" lay-reqtext="请输入入行时间" placeholder="请输入入行时间" value="{$row.entry_time|default=''}">
                <tip>例：2015-05-06</tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                <input name="status" value="1" type="checkbox" class="switch" lay-skin="switch" lay-text="开启|关闭" {if $row.status==1}checked=""{/if}>
            </div>
        </div>

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>
<script>
    var parameter = '{$parameter|raw|default=""}';
</script>